public abstract class GpEquipmentPort extends SerialPort
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
GpEquipmentPort.OnDataReceived |
mFd| 限定符 | 构造器和说明 |
|---|---|
protected |
GpEquipmentPort(Context context) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeSerialPort() |
protected SerialPort |
getSerialPort(java.io.File file,
int baudrate,
int flag) |
byte[] |
getUpdateData() |
protected void |
setDataReceived(GpEquipmentPort.OnDataReceived onDataReceived) |
protected void |
setPath(java.lang.String path) |
check, close, download, getInputStream, is, openSerialPort, requestUpdate, requestVersionInfo, update, updateCheckprotected SerialPort getSerialPort(java.io.File file, int baudrate, int flag) throws java.lang.SecurityException, java.io.IOException, java.security.InvalidParameterException
java.lang.SecurityExceptionjava.io.IOExceptionjava.security.InvalidParameterExceptionpublic void closeSerialPort()
protected void setPath(java.lang.String path)
public byte[] getUpdateData()
protected void setDataReceived(GpEquipmentPort.OnDataReceived onDataReceived)